package com.hb.core.pojo.flow.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hb.core.pojo.flow.dto.FlowTempTaskDTO;
import com.hb.core.pojo.flow.entity.FlowTempTask;

import java.util.List;

/**
 * <p>
 * 审批任务流转信息(模板) Mapper 接口
 * </p>
 *
 * @author zhaojk
 * @since 2021-05-27
 */
public interface FlowTempTaskMapper extends BaseMapper<FlowTempTask> {

    /**
     * 查询指定流程节点的审批任务
     *
     * @param tempNodeId
     * @return
     */
    List<FlowTempTaskDTO> listTaskDtos(Long tempNodeId);
}
